package com.risenb.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.risenb.bean.LoginLog;
import com.risenb.dao.LoginLogMapper;
import com.risenb.service.LoginLogService;

@Service
public class LoginLogServiceImpl implements LoginLogService {
	
	@Autowired
	LoginLogMapper loginLogMapper;
	
	@Override
	public int removeLoginLogById(Integer id) {
		return loginLogMapper.removeLoginLogById(id);
	}

	@Override
	public int createLoginLog(LoginLog record) {
		return loginLogMapper.createLoginLog(record);
	}

	@Override
	public LoginLog queryLoginLogById(Integer id) {
		return loginLogMapper.queryLoginLogById(id);
	}

	@Override
	public int modifyLoginLogById(LoginLog record) {
		return loginLogMapper.modifyLoginLogById(record);
	}

	@Override
	public List<LoginLog> queryTen(Integer uid) {
		return loginLogMapper.queryTen(uid);
	}

}
